package com.mengfx.bean;

import com.mengfx.utils.C;

public class Banner {
    private Long id;

    private String img;

    private Integer bannerType;

    private String bannerValue;

    private Boolean archive;

    private String ext;

    private Integer dispalyOrder;
    
    private String bannerTypestr;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img == null ? null : img.trim();
    }

    public Integer getBannerType() {
        return bannerType;
    }

    public void setBannerType(Integer bannerType) {
        this.bannerType = bannerType;
    }

    public String getBannerValue() {
        return bannerValue;
    }

    public void setBannerValue(String bannerValue) {
        this.bannerValue = bannerValue == null ? null : bannerValue.trim();
    }

    public Boolean getArchive() {
        return archive;
    }

    public void setArchive(Boolean archive) {
        this.archive = archive;
    }

    public String getExt() {
        return ext;
    }

    public void setExt(String ext) {
        this.ext = ext == null ? null : ext.trim();
    }

    public Integer getDispalyOrder() {
        return dispalyOrder;
    }

    public void setDispalyOrder(Integer dispalyOrder) {
        this.dispalyOrder = dispalyOrder;
    }

	public String getBannerTypestr() {
		return C.BannerType.bannerType[bannerType];
	}

	public void setBannerTypestr(String bannerTypestr) {
		this.bannerTypestr = bannerTypestr;
	}
    
}